package HOANGVIETANH;
import java.util.Scanner;
public class EXCERSISE1 {
	public static void main(String[] args) {
		
		//1. MOI NHAP VAO USER NAME
		System.out.println("moi nhap vao userName ");
		
		//2. khai bao va khoi tao Scanner
		Scanner doituong = new Scanner(System.in);
		
		//3.nhap gia tri va gan cho user name
		String userName=doituong.nextLine();
		if(userName.isEmpty()){
			System.out.println("yeu cau ban nhap vao userName moi ok");
			return;//thoat ngay ko xu li nua
		}
		
		//4. moi nhap vao matkhau
		System.out.println(" moi nhap vo mat khau");
		
		//5. nhan gia tri va gan cho password
		String passWord=doituong.nextLine();
		if(passWord.isEmpty()){
			System.out.println("yeu cau ban nhap vao passWord moi ok");
			//return;
		
		//6. kiem tra xac thuc thong tin tai khoan
		if(userName.equals("doannv")&& passWord.equals("nothing")){
			System.out.println("chuc mung chuyen gia");
		}
		else{
			System.out.println("rat tiec cho chuyen gia");
		}
		
		
	}

	}
}
